package hn.cch.mongodb.repository;

import hn.cch.mongodb.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author CCH
 * @version 2018.10.16
 */
public interface UserRepository extends MongoRepository<User, Long> {

    public List<User> findByName(String name);
}
